<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/08/10 0010
 * Time: 11:13:57
 */
namespace app\admin\Model;
use think\Model;

class User extends Model{
    // 设置返回数据集的对象名
    protected $resultSetType = 'collection';
    public function refreeid(){
        return $this->belongsTo('user','refree_id','id');
    }


}